package com.dao;

import com.entity.Student;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface StudentDAO {
    List<Student> selectAll(@Param("offset") Integer offset, @Param("limit") Integer limit, @Param("studentName") String studentName);
    Integer selectCount(@Param("studentName") String studentName);
    Student selectOneById(Integer studentId);
    Integer update(Student student);
    Integer multiDelete(int[] ids);
}